﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SaleInfo1.aspx.cs" Inherits="SaleInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style10 {
            width: 547px;
        }
        .auto-style11 {
            width: 545px;
        }
        .auto-style12 {
            width: 446px;
        }
        .auto-style13 {
            color: #33CCFF;
            width: 42px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
     <table align="center" border="0" cellpadding="0" cellspacing="0" width="600">
             <table style="width: 100%; border: 6px solid #fff;">
                    <tr style="background: #cfcdaf; color: #0000FF;">
                      <td class="auto-style12" style="font-family: 华文新魏;">
                          <strong>查询</strong></td>
                      <td>
                        <asp:TextBox ID="txtSearch" runat="server" CssClass="auto-style11" Width="191px"></asp:TextBox>
                      </td>
                      <td class="auto-style13">
                          <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="搜索" />
                      </td>
                     
                    </tr>
                      <tr>
                          <td class="auto-style12">&nbsp;</td>
                      </tr>
                  </table>

        <tr>
            <td style="height: 26px">
                <br />
                <br />
                <br />
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"  PageSize="8" Width="603px" DataKeyNames="SaleID">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="SaleID" HeaderText="销售单号" />
                        <asp:BoundField DataField="MerchID" HeaderText="商品编号" ReadOnly="True" SortExpression="goodNo" />
                        <asp:BoundField DataField="MerchName" HeaderText="商品名称" ReadOnly="true" SortExpression="goodName" />
                        <asp:BoundField DataField="SalePrice" HeaderText="商品售价" ReadOnly="true" SortExpression="goodPrice" />
                        <asp:BoundField DataField="SaleNum" HeaderText="商品数量" />
                    </Columns>
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <EmptyDataTemplate>
                        对不起，当前没有商品销售信息!
                    </EmptyDataTemplate>
                    <EditRowStyle BackColor="#999999" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
        <caption>
            &nbsp;&nbsp;&nbsp;
        </caption>
    </table>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

